package com.yyf.blogapi.service;

import com.yyf.blogapi.po.Tag;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yyf.blogapi.vo.TagVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yyf
 * @since 2021-08-16
 */
public interface ITagService extends IService<Tag> {
    List<TagVo> getTagsByArticleId(Long articleId);

    List<Tag> hotTags(int limit);
}
